#pragma once // INCOME_H

#include "money.h"

class CIncome : public CMoney
{
public:
    CIncome(std::string name = "", long double principal = 0.0, double rate = 0.0);
    ~CIncome();
public:
    virtual void refresh();
    virtual void print();
    double makeDeposit(double deposit);
    double makeWithdraw(double withdraw);
protected:
    std::vector<double> m_interest;

};

